package com.smarthouse.service.impl;

import com.smarthouse.service.UserService;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    
    @Override
    public boolean login(String username, String password) {
        // 这里应该实现实际的登录逻辑，暂时返回模拟数据
        return "admin".equals(username) && "123456".equals(password);
    }

    @Override
    public boolean checkUserExists(String username) {
        // 这里应该实现实际的用户检查逻辑，暂时返回模拟数据
        return "admin".equals(username);
    }
} 